workflow/docs: Give token write permission to push gh-pages
authorDan Nicholson <dbn@endlessos.org>
Tue, 25 May 2021 20:25:28 +0000 (14:25 -0600)
committerDan Nicholson <dbn@endlessos.org>
Tue, 25 May 2021 20:25:28 +0000 (14:25 -0600)
commitbd42df4c9beeadf17234ecfc031a26bc16d93549
tree24b3dd913abc79dd3cab76b2b14d246fcff2b0e2
parent27a3af6b1b2c8c8dcd1d0a9e664fe65e3a34a32e
workflow/docs: Give token write permission to push gh-pages

The ostree repo has read permissions set for workflows, which prevents
the documentation job from pushing the built docs to the gh-pages
branch. Raise the job's permissions to write for repo contents to allow
that.
.github/workflows/docs.yml